package com.jinmdz.fmis.api.admin.model.equipment;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 冷藏冷柜信息
 *
 * @author LiCongLu
 * @date 2020-03-11 11:10
 */
@ApiModel(value = "冷藏冷柜信息", description = "冷藏冷柜信息")
public class EquipmentSaveData extends BaseBean {
    /**
     * 主键
     */
    @AnValidate(name = "主键", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "主键", name = "id", position = 1)
    private Integer id;

    /**
     * 冷藏类型编码
     */
    @AnValidate(name = "冷藏类型编码", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "冷藏类型编码", name = "equipmentTypeCode", position = 2)
    private Integer equipmentTypeCode;

    /**
     * 设备编码
     */
    @AnValidate(name = "设备编码", required = true)
    @ApiModelProperty(value = "设备编码", name = "equipmentCode", position = 3)
    private String equipmentCode;

    /**
     * 设备描述
     */
    @AnValidate(name = "设备描述")
    @ApiModelProperty(value = "设备描述", name = "equipmentDescribe", position = 4)
    private String equipmentDescribe;

    /**
     * 列数
     */
    @AnValidate(name = "列数", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "列数", name = "columnNo", position = 5)
    private Integer columnNo;

    /**
     * 行数
     */
    @AnValidate(name = "行数", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "行数", name = "rowNo", position = 6)
    private Integer rowNo;

    /**
     * 禁用状态
     */
    @AnValidate(name = "禁用状态", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "禁用状态", name = "disableState", position = 7)
    private Integer disableState;

    /**
     * 排序
     */
    @AnValidate(name = "排序", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "排序", name = "sort", position = 8)
    private Integer sort;

    /**
     * 备注
     */
    @AnValidate(name = "备注")
    @ApiModelProperty(value = "备注", name = "remark", position = 9)
    private String remark;

    /**
     * 数据版本号
     */
    @AnValidate(name = "数据版本号")
    @ApiModelProperty(value = "数据版本号", name = "version", position = 10)
    private Long version;

    public Integer getId() {
        return id;
    }

    public EquipmentSaveData setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getEquipmentTypeCode() {
        return equipmentTypeCode;
    }

    public EquipmentSaveData setEquipmentTypeCode(Integer equipmentTypeCode) {
        this.equipmentTypeCode = equipmentTypeCode;
        return this;
    }

    public String getEquipmentCode() {
        return equipmentCode;
    }

    public EquipmentSaveData setEquipmentCode(String equipmentCode) {
        this.equipmentCode = equipmentCode;
        return this;
    }

    public String getEquipmentDescribe() {
        return equipmentDescribe;
    }

    public EquipmentSaveData setEquipmentDescribe(String equipmentDescribe) {
        this.equipmentDescribe = equipmentDescribe;
        return this;
    }

    public Integer getColumnNo() {
        return columnNo;
    }

    public EquipmentSaveData setColumnNo(Integer columnNo) {
        this.columnNo = columnNo;
        return this;
    }

    public Integer getRowNo() {
        return rowNo;
    }

    public EquipmentSaveData setRowNo(Integer rowNo) {
        this.rowNo = rowNo;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public EquipmentSaveData setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public EquipmentSaveData setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public EquipmentSaveData setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public Long getVersion() {
        return version;
    }

    public EquipmentSaveData setVersion(Long version) {
        this.version = version;
        return this;
    }
}
